8331541: [i386] linking with libjvm.so fails after JDK-8283326
authorVladimir Petko <vladimir.petko@canonical.com>
Thu, 22 Jan 2026 22:10:02 +0000 (23:10 +0100)
committerMoritz Muehlenhoff <jmm@debian.org>
Thu, 22 Jan 2026 22:10:02 +0000 (23:10 +0100)
commit71229045203bd1bfd1b36d34ad0f43b42e6e5504
tree39fb94907734395ebfd0534ea3ed5cf0f6fbb98f
parent2fee88053bb0138a5ffac2b52a3053b9ae50683e
8331541: [i386] linking with libjvm.so fails after JDK-8283326

Origin: https://github.com/openjdk/jdk/pull/19048
Bug: https://bugs.openjdk.org/browse/JDK-8331541
Applied-Upstream: commit:2d622152b07bba0aba8fd5b1e24293e28d6e69f5
Last-Update: 2024-05-02

i386 declaration of _SafeFetch32_impl contains an underscore
that causes an undefined symbol in libjvm.so.
Disable -Wl,--allow-shlib-undefined link flag that allowed the
build to succeed.

Gbp-Pq: Name jdk-8331541.patch
make/autoconf/flags-ldflags.m4
src/hotspot/os_cpu/linux_x86/safefetch_linux_x86_32.S